<?php


namespace app\common\models;


use app\common\traits\BaseModelOptionTrait;
use think\Model;

class UserLover extends Model
{
    use BaseModelOptionTrait;

    protected $table = 'xiangji_user_lover';

    public function lover()
    {
        return $this->hasOne(User::class, 'id', 'lover_id');
    }
}
